/*
	File:		Message.h
	Course:		SGD 1301
	Author:		dmonroe
	Purpose:	Concrete base class for game messages
*/

#pragma once

#include "../SGD Wrappers/IMessage.h"


////////////////////////////////////////////////////////////
// Enumeration of message types
enum MsgType	{ MSG_CREATE_LASER, MSG_DESTROY_ENTITY,MSG_CREATE_ENEMY,MSG_CREATE_SPREAD_LASER};


////////////////////////////////////////////////////////////
// CMessage class
//	- stores the message identifier
class CMessage : public IMessage
{
public:

	// Constructor REQUIRES the message type
	CMessage( MsgType id )
	{	m_eMessageID = id;		}

	virtual ~CMessage(void)
	{	/* do nothing */		}
	
	virtual MSGID	GetMessageID( void )
	{	return m_eMessageID;	}

private:
	MsgType		m_eMessageID;
};

